Input for WinForms | ComponentOne
C1.Win.Input.Base.Views Namespace / InputTextBoxElementBase<T> Class / ScaleToDeviceDPI Method / ScaleToDeviceDPI(Size) Method
The value for scaling.

In This Topic
    ScaleToDeviceDPI(Size) Method
    In This Topic
    Scales a value uses the DeviceDpi value if this element has a C1.Framework.Element.HostControl.
    Syntax
    'Declaration
     
    
    Protected Overloads Function ScaleToDeviceDPI( _
       ByVal value As Size _
    ) As Size
    protected Size ScaleToDeviceDPI( 
       Size value
    )

    Parameters

    value
    The value for scaling.

    Return Value

    The scaled value.
    See Also